package medical_application;
/** CSIS 343 Group 2 Course Project
 *  @authors Agnes Oliveira, Liane Heidemann, Daniel Schraufnagel, Matthew Lee
 */
import java.awt.Font;
import javax.swing.UIManager;

public class Main {
	static protected Read_Write_XML rwxml;
	static Font f = new Font("Monospaced", Font.PLAIN, 20);
	public static void main(String args[]){
		med_app();
	}
	
	/** 
	 * med_app() controls the flow of the medical application.
	 **/
	protected static void med_app(){
		UIManager.put("OptionPane.messageFont", f);
		UIManager.put("OptionPane.buttonFont", f);
		UIManager.put("PasswordField.font", f);
		UIManager.put("TextField.font", f);
		rwxml = new Read_Write_XML();
		rwxml.readPatientXML();
		rwxml.createPatientVector();
		new LoginGUI();
	}//end of med_app
}//end of main
